package cn.ycc1.myssmupper.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * springMVC hello
 * @author ycc
 * @date 2025/5/7
 */
@Controller
public class HelloWorldController {

    @ResponseBody
    @RequestMapping("/mvc/hello")
    public String hello() {
        return "hello springMVC, 你好";
    }
}
